﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/TravelIndex.master" CodeBehind="RegistrarInforme.aspx.vb" Inherits="CondorTravel.RegistrarInforme" %>
<asp:Content ID="Content1" ContentPlaceHolderID="contenidoModulo" runat="server">

<form id="informeForm" method="post">
<asp:ScriptManager ID="ScriptManager1" runat="server" EnablePartialRendering="true" />
<div class="subtitulo" style="font-size: large">Nuevo Informe de Campo</div>
<br>
<table border="0" cellpadding="0" cellspacing="0">
	<tbody>
		<tr class="TRlist3">
			<td colspan="4" style="height: 22px"><strong><u>Datos del Informe</u></strong></td>
		</tr>
        <tr class="TRlist3">
			<td style="HEIGHT: 16px;text-align: right;padding-right:30px">Supervisor</td>
			<td>
                <asp:TextBox runat="server" ID="txtSupervisor" CssClass="graybuttonNormal" 
                    Width="200" MaxLength="50"></asp:TextBox>
            </td>
			<td style="HEIGHT: 16px;width:160px;text-align:right">&nbsp;</td>
            <td style="HEIGHT: 16px">&nbsp;</td>
		</tr>
        <tr class="TRlist3">
            <td colspan="2"> 
                <asp:UpdatePanel runat="server" ID="upZona">
                <ContentTemplate>
                        <table cellpadding="0" cellspacing="0" width="400px" style="border: #cccccc 1px solid;">
                            <tr style="font-weight:bold;">
                                <td colspan="2" 
                                    style="padding-left:70px;border: #cccccc 1px solid; text-align: center;">ZONA</td>
                            </tr>
                            <tr>
                                <td style="width:120px;text-align:right;border: #cccccc 1px solid; height: 5px;">Pais</td>
                                <td style="border: #cccccc 1px solid; height: 5px;">
                                    <asp:DropDownList ID="cboPais" runat="server" Height="16px" Width="120px" AutoPostBack="true"></asp:DropDownList>
                                </td>     
                            </tr>
                            <tr>
                                <td style="text-align:right;border: #cccccc 1px solid; height: 15px;">Ciudad</td>                       
                                <td style="border: #cccccc 1px solid; height: 15px;">
                                    <asp:DropDownList ID="cboCiudad" runat="server" Height="16px" Width="120px"></asp:DropDownList>
                                </td>   
                            </tr>
                            <tr>
                                <td style="text-align:right;border: #cccccc 1px solid;">Referencia</td>
                                <td style="border: #cccccc 1px solid;">
                                    <asp:TextBox runat="server" ID="txtReferencia" CssClass="graybuttonNormal" 
                                        Width="240" MaxLength="100"></asp:TextBox>
                                </td>
                            </tr>
                        </table>                   
                </ContentTemplate>
                </asp:updatePanel>            
            </td>
            <td style="padding:0px;" colspan="2">
                <table border="0" cellpadding="0" cellspacing="0" style="vertical-align:top;" id="tablaMartin" width="100%">
                    <tr>
                        <td style="text-align:right; height: 28px;">Cantidad Hospedajes</td>
                        <td style="padding-left:30px; height: 28px;">
                            <asp:TextBox runat="server" ID="txtCantidadHospedajes" CssClass="graybuttonNormal" Width="50"></asp:TextBox>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                    ControlToValidate="txtCantidadHospedajes" ErrorMessage="Solo números enteros" ForeColor="#FF3300" 
                    ValidationExpression="^0$|^[1-9][0-9]*$|^[1-9][0-9]{0,2}(,[0-9]{3})$"></asp:RegularExpressionValidator>
                        </td>
                    </tr>
                     <tr>
                        <td style="text-align:right; height: 28px;">Cantidad Restaurantes</td>
                        <td style="padding-left:30px; height: 28px;">
                            <asp:TextBox runat="server" ID="txtCantidadRestaurantes" CssClass="graybuttonNormal" Width="50"></asp:TextBox>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" 
                    ControlToValidate="txtCantidadRestaurantes" ErrorMessage="Solo números enteros" ForeColor="#FF3300" 
                    ValidationExpression="^0$|^[1-9][0-9]*$|^[1-9][0-9]{0,2}(,[0-9]{3})$"></asp:RegularExpressionValidator>
                        </td>
                    </tr>
                     <tr>
                        <td style="text-align:right; height: 28px;">Transporte</td>
                        <td style="padding-left:30px; height: 28px;">
                            <asp:TextBox runat="server" ID="txtTransporte" CssClass="graybuttonNormal" 
                                Width="180" MaxLength="50"></asp:TextBox>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr class="TRlist3">
            <td colspan="4" style="padding:0px;">
            <asp:UpdatePanel runat="server" ID="upDetalle">
            <ContentTemplate>
             <table width="100%" border="0" cellpadding="0" cellspacing"0">
                    <tr class="TRlist3" style="height:45px;">       
			            <td style="WIDTH: 172px;text-align: right;vertical-align:middle;">Servicios</td>
			            <td style="WIDTH: 270px;">
                            <asp:TextBox runat="server" ID="txtServicios" CssClass="graybuttonNormal" 
                                Width="200" MaxLength="100"></asp:TextBox>
                            &nbsp;&nbsp;&nbsp;
                            <asp:ImageButton ID="btnAddServicios" runat="server" ImageUrl="~/res/img/add.png"></asp:ImageButton>
                            <asp:ImageButton ID="btnDeleteServicios" runat="server" ImageUrl="~/res/img/quit.png"></asp:ImageButton>                
                        </td>
			            <td style="WIDTH: 172px; text-align: right;vertical-align:middle;">Festividades</td>
			            <td style="WIDTH: 270px">
                            <asp:TextBox runat="server" ID="txtFestividades" CssClass="graybuttonNormal" 
                                Width="200" MaxLength="100"></asp:TextBox>
                            &nbsp;&nbsp;&nbsp;
                            <asp:ImageButton ID="btnAddFestividades" runat="server" ImageUrl="~/res/img/add.png"></asp:ImageButton>
                            <asp:ImageButton ID="btnDeleteFestividades" runat="server" ImageUrl="~/res/img/quit.png"></asp:ImageButton>   
                        </td>                                              
		            </tr>				
                    <tr class="TRlist3">
                        <td></td>
			            <td>
                            <asp:CheckBoxList runat="server" ID="checkListaServicios">
                            </asp:CheckBoxList>
                        </td>				
                        <td></td>
			            <td>
                            <asp:CheckBoxList runat="server" ID="checkListaFestividades">
                            </asp:CheckBoxList>
                        </td>			
		            </tr>       	
                    <tr class="TRlist3" style="height:45px;">
			            <td style="WIDTH: 172px; text-align: right;vertical-align:middle;">Trámites y Permisos</td>
			            <td style="WIDTH: 270px" colspan="3">
                             <asp:TextBox runat="server" ID="txtTramites" CssClass="graybuttonNormal" 
                                 Width="200" MaxLength="100"></asp:TextBox>
                            &nbsp;&nbsp;&nbsp;
                            <asp:ImageButton ID="btnAddTramites" runat="server" ImageUrl="~/res/img/add.png"></asp:ImageButton>
                            <asp:ImageButton ID="btnDeleteTramites" runat="server" ImageUrl="~/res/img/quit.png"></asp:ImageButton>  
                        </td>
                    </tr>
                    <tr class="TRlist3">				
                        <td></td>
			            <td colspan="3">
                            <asp:CheckBoxList runat="server" ID="checkListaTramites">
                            </asp:CheckBoxList>
                        </td>			
		            </tr>   
                </table>   
            </ContentTemplate>
            </asp:UpdatePanel>            
            </td>
        </tr>           
         <tr class="TRlist3">
			<td style="HEIGHT: 16px;text-align: right;">Observaciones</td>
			<td colspan="3">
                <asp:TextBox ID="txtObservaciones" runat="server" CssClass="graybuttonNormal" 
                    Width="200" Height="60" TextMode="MultiLine" MaxLength="100"></asp:TextBox>                
            </td>
        </tr> 
        <tr>
            <td colspan="4"><asp:Label ID="lblMensaje" runat="server" Font-Bold="True" ForeColor="Red"></asp:Label></td>
        </tr>
        <tr>
			<td style="WIDTH: 172px; HEIGHT: 30px"></td>
			<td style="WIDTH: 270px; HEIGHT: 30px">				
                  <asp:Button ID="btnGrabar" runat="server" Text="Grabar"  Width="94px"  class="graybutton" />
            </td>
			<td style="HEIGHT: 30px; width: 148px; vertical-align: middle;">
                <asp:Button ID="btnEnviar" runat="server" Text="Enviar" Width="100px" class="graybutton" />
            </td>
			<td style="HEIGHT: 30px; width: 244px;"></td>
		</tr>
    </tbody>
</table>
</form>
</asp:Content>
